package userInterface;

import javax.swing.JButton;

import model.Auction;

/**
 * button that contains Auction
 *
 */
@SuppressWarnings("serial")
public class AuctionButton extends JButton{
	private Auction auction;
	public AuctionButton(String name, Auction auction){
		super(name);
		this.auction = auction;
	}
	public Auction getAuction() {
		return auction;
	}
	public void setAuction(Auction auction) {
		this.auction = auction;
	}

}
